package c.e.b.h.e.m;

/* compiled from: AutoValue_CrashlyticsReport_Session_Event_Device */
public final class r extends c.e.b.h.e.m.v.d.d.b {
    public final Double a;
    public final int b;
    public final boolean c;
    public final int d;
    public final long e;
    public final long f;

    /* compiled from: AutoValue_CrashlyticsReport_Session_Event_Device */
    public static final class b extends c.e.b.h.e.m.v.d.d.b.a {
        public Double a;
        public Integer b;
        public Boolean c;
        public Integer d;
        public Long e;
        public Long f;

        public c.e.b.h.e.m.v.d.d.b a() {
            String str = this.b == null ? " batteryVelocity" : "";
            if (this.c == null) {
                str = c.b.a.a.a.D(str, " proximityOn");
            }
            if (this.d == null) {
                str = c.b.a.a.a.D(str, " orientation");
            }
            if (this.e == null) {
                str = c.b.a.a.a.D(str, " ramUsed");
            }
            if (this.f == null) {
                str = c.b.a.a.a.D(str, " diskUsed");
            }
            if (str.isEmpty()) {
                return new r(this.a, this.b.intValue(), this.c.booleanValue(), this.d.intValue(), this.e.longValue(), this.f.longValue(), null);
            }
            throw new IllegalStateException(c.b.a.a.a.D("Missing required properties:", str));
        }
    }

    public r(Double d, int i, boolean z, int i2, long j, long j2, a aVar) {
        this.a = d;
        this.b = i;
        this.c = z;
        this.d = i2;
        this.e = j;
        this.f = j2;
    }

    public Double a() {
        return this.a;
    }

    public int b() {
        return this.b;
    }

    public long c() {
        return this.f;
    }

    public int d() {
        return this.d;
    }

    public long e() {
        return this.e;
    }

    /* JADX WARNING: Missing block: B:20:0x004a, code skipped:
            if (r7.f == r8.c()) goto L_0x004e;
     */
    public boolean equals(java.lang.Object r8) {
        /*
        r7 = this;
        r0 = 1;
        if (r8 != r7) goto L_0x0004;
    L_0x0003:
        return r0;
    L_0x0004:
        r1 = r8 instanceof c.e.b.h.e.m.v.d.d.b;
        r2 = 0;
        if (r1 == 0) goto L_0x004f;
    L_0x0009:
        r8 = (c.e.b.h.e.m.v.d.d.b) r8;
        r1 = r7.a;
        if (r1 != 0) goto L_0x0016;
    L_0x000f:
        r1 = r8.a();
        if (r1 != 0) goto L_0x004d;
    L_0x0015:
        goto L_0x0020;
    L_0x0016:
        r3 = r8.a();
        r1 = r1.equals(r3);
        if (r1 == 0) goto L_0x004d;
    L_0x0020:
        r1 = r7.b;
        r3 = r8.b();
        if (r1 != r3) goto L_0x004d;
    L_0x0028:
        r1 = r7.c;
        r3 = r8.f();
        if (r1 != r3) goto L_0x004d;
    L_0x0030:
        r1 = r7.d;
        r3 = r8.d();
        if (r1 != r3) goto L_0x004d;
    L_0x0038:
        r3 = r7.e;
        r5 = r8.e();
        r1 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1));
        if (r1 != 0) goto L_0x004d;
    L_0x0042:
        r3 = r7.f;
        r5 = r8.c();
        r8 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1));
        if (r8 != 0) goto L_0x004d;
    L_0x004c:
        goto L_0x004e;
    L_0x004d:
        r0 = 0;
    L_0x004e:
        return r0;
    L_0x004f:
        return r2;
        */
        throw new UnsupportedOperationException("Method not decompiled: c.e.b.h.e.m.r.equals(java.lang.Object):boolean");
    }

    public boolean f() {
        return this.c;
    }

    public int hashCode() {
        Double d = this.a;
        int hashCode = ((((((((d == null ? 0 : d.hashCode()) ^ 1000003) * 1000003) ^ this.b) * 1000003) ^ (this.c ? 1231 : 1237)) * 1000003) ^ this.d) * 1000003;
        long j = this.e;
        hashCode = (hashCode ^ ((int) (j ^ (j >>> 32)))) * 1000003;
        long j2 = this.f;
        return hashCode ^ ((int) (j2 ^ (j2 >>> 32)));
    }

    public String toString() {
        StringBuilder g = c.b.a.a.a.g("Device{batteryLevel=");
        g.append(this.a);
        g.append(", batteryVelocity=");
        g.append(this.b);
        g.append(", proximityOn=");
        g.append(this.c);
        g.append(", orientation=");
        g.append(this.d);
        g.append(", ramUsed=");
        g.append(this.e);
        g.append(", diskUsed=");
        g.append(this.f);
        g.append("}");
        return g.toString();
    }
}
